From 071fc3ce9132c1f7956fdd80a7ecbae168d5065c Mon Sep 17 00:00:00 2001 From: oliskoli Date: Sat, 27 Jan 2007 21:57:44 +0000 Subject: [PATCH] Add styles for new Kompass formats. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2640 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/Makefile.in | 2 +- gpsbabel/style/kompass_tk.style | 18 ++++++++++++++++++ gpsbabel/style/kompass_wp.style | 26 ++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 gpsbabel/style/kompass_tk.style create mode 100644 gpsbabel/style/kompass_wp.style diff --git a/gpsbabel/Makefile.in b/gpsbabel/Makefile.in index 2783ba4cd..4f3964f1f 100644 --- a/gpsbabel/Makefile.in +++ b/gpsbabel/Makefile.in @@ -842,5 +842,5 @@ zlib/trees.o: zlib/trees.c zlib/deflate.h zlib/zutil.h zlib/zlib.h \ zlib/zconf.h zlib/trees.h zlib/uncompr.o: zlib/uncompr.c zlib/zlib.h zlib/zconf.h zlib/zutil.o: zlib/zutil.c zlib/zutil.h zlib/zlib.h zlib/zconf.h -internal_styles.c: mkstyle.sh style/arc.style style/cambridge.style style/csv.style style/cup.style style/custom.style style/dna.style style/fugawi.style style/garmin301.style style/garmin_poi.style style/geonet.style style/gpsdrive.style style/gpsdrivetrack.style style/gpsman.style style/ktf2.style style/kwf2.style style/mapconverter.style style/mxf.style style/nima.style style/openoffice.style style/s_and_t.style style/saplus.style style/sportsim.style style/tabsep.style style/xmap2006.style style/xmap.style style/xmapwpt.style +internal_styles.c: mkstyle.sh style/arc.style style/cambridge.style style/csv.style style/cup.style style/custom.style style/dna.style style/fugawi.style style/garmin301.style style/garmin_poi.style style/geonet.style style/gpsdrive.style style/gpsdrivetrack.style style/gpsman.style style/ktf2.style style/kwf2.style style/mapconverter.style style/mxf.style style/nima.style style/openoffice.style style/s_and_t.style style/saplus.style style/sportsim.style style/tabsep.style style/xmap2006.style style/xmap.style style/xmapwpt.style style/kompass_wp.style style/kompass_tk.style ./mkstyle.sh > internal_styles.c || (rm -f internal_styles.c ; exit 1) diff --git a/gpsbabel/style/kompass_tk.style b/gpsbabel/style/kompass_tk.style new file mode 100644 index 000000000..2b6ffaff9 --- /dev/null +++ b/gpsbabel/style/kompass_tk.style @@ -0,0 +1,18 @@ +# gpsbabel XCSV style file +# +# Format: Kompass / Deutscher Alpenverein (DAV) Waypoints +# Author: Olaf Klein +# Date: 01/10/2007 +# +# +DESCRIPTION Kompass (DAV) Track (.tk) +DATATYPE TRACK +EXTENSION wp +FIELD_DELIMITER COMMA +RECORD_DELIMITER NEWLINE +BADCHARS ," +# +# INDIVIDUAL DATA FIELDS, IN ORDER OF APPEARANCE: +# +IFIELD LAT_DECIMAL, "", "%.7f" +IFIELD LON_DECIMAL, "", "%.7f" diff --git a/gpsbabel/style/kompass_wp.style b/gpsbabel/style/kompass_wp.style new file mode 100644 index 000000000..2f4db451f --- /dev/null +++ b/gpsbabel/style/kompass_wp.style @@ -0,0 +1,26 @@ +# gpsbabel XCSV style file +# +# Format: Kompass / Deutscher Alpenverein (DAV) Waypoints +# Author: Olaf Klein +# Date: 01/10/2007 +# +# +DESCRIPTION Kompass (DAV) Waypoints (.wp) +DATATYPE WAYPOINT +EXTENSION wp +ENCODING UTF-8 +FIELD_DELIMITER SEMICOLON +RECORD_DELIMITER CRNEWLINE +BADCHARS ," +# +# INDIVIDUAL DATA FIELDS, IN ORDER OF APPEARANCE: +# +IFIELD SHORTNAME, "", "%s" +IFIELD LON_DECIMAL, "", "%.7f" +IFIELD LAT_DECIMAL, "", "%.7f" +IFIELD ALT_METERS, "", "%.0f" +IFIELD LOCAL_TIME,"","%d.%m.%Y %H:%M:%S" +IFIELD CONSTANT, "Icons\Wegpunkt grün.bmp", "%s" +IFIELD IGNORE, "", "%s" +IFIELD CONSTANT, "1", "%s" # unknown +IFIELD DESCRIPTION, "", "%s" -- 2.30.2